package com.cms.content.jobs.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cms.framework.utils.page.PageView;
import com.cms.content.jobs.pojo.Jobs;
import com.cms.content.jobs.pojo.dto.JobsDTO;

public interface JobsDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Jobs record);

    int insertSelective(Jobs record);

    Jobs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Jobs record);

    int updateByPrimaryKey(Jobs record);
    
    List<Jobs> selectByPage(@Param("pageView")PageView<JobsDTO> pageView,@Param("jobsDTOParams")JobsDTO jobsDTOParams);
}